/*
 * @Description: 
 * @Author: handongliang dongliang.han@12301.cn
 * @Date: 2023-09-08 16:25:09
 * @LastEditTime: 2023-09-14 17:56:08
 */
import './index.less'
const SerialNumber: React.FC<any> = (props) => {
    const { value, text,style } = props
    return <>
        {
            text ? <div className={`serial-number-text ${value <= 3 ? `serial-number-text-${value}` : ''}`}>
                NO.{value}</div> : <div style={style} className={`serial-number ${value <= 3 ? `serial-number-${value}` : ''}`}>{value}</div>
        }
    </>
}
export default SerialNumber